package com.wj.dubbo.service.crawler.entity;

import java.util.Date;

import com.wj.dubbo.utils.UUIDUtils;
 /**
 * 
 * @ClassName: OmMemberMessage 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author caimusong 
 * @date 2015-12-22 下午 05:43:37
 * @copyright   
 *
 */
public class OmMemberMessage {
	
		/**
	 * 
	 */
	private static final long serialVersionUID = -1560086066983033651L;
	
	private java.lang.String id;//   ID
	private java.lang.String memberId;//   成员ID
	private java.lang.String memberName;//   成员名称
	private java.lang.String title;//   标题
	private java.lang.String summary;//   摘要
	private java.lang.String pubUser;//   发布人
	private java.util.Date pubTime;//   发布时间
	private java.lang.String content;//   内容
	private java.lang.String messageType;//   类型 normal:普通
	private java.lang.String readType;//   是否已读 yes:已读 no:未读
	private java.util.Date readTime;//   阅读时间
	private java.lang.String prepaidRecordId;//预支记录id
	private java.lang.String url;//链接地址
	private String isShow;
	private String otherParam;// 其他参数（json）
	
	
	
	/**
	 * 业务消息初始化
	 * @param memberId 用户id
	 * @param memberName 用户姓名
	 * @param title 消息标题
	 * @param summary 消息描述
	 * @param content 消息内容
	 * @param prepaidRecordId 预支记录id
	 */
	public OmMemberMessage(String memberId,String memberName,String title,String summary,String prepaidRecordId, String messageType){
		this.id=UUIDUtils.getUUIDStr();
		this.memberId=memberId;
		this.memberName=memberName;
		this.title=title;
		this.summary=summary;
		this.pubTime=new Date();
		this.messageType=messageType;
		this.readType="no";
		this.prepaidRecordId=prepaidRecordId;
		
	}
	public OmMemberMessage(){
		
	}
	public java.lang.String getId() {
		return id;
	}
	public void setId(java.lang.String id) {
		this.id = id;
	}
	public java.lang.String getMemberId() {
		return memberId;
	}
	public void setMemberId(java.lang.String memberId) {
		this.memberId = memberId;
	}
	public java.lang.String getMemberName() {
		return memberName;
	}
	public void setMemberName(java.lang.String memberName) {
		this.memberName = memberName;
	}
	public java.lang.String getTitle() {
		return title;
	}
	public void setTitle(java.lang.String title) {
		this.title = title;
	}
	public java.lang.String getSummary() {
		return summary;
	}
	public void setSummary(java.lang.String summary) {
		this.summary = summary;
	}
	public java.lang.String getPubUser() {
		return pubUser;
	}
	public void setPubUser(java.lang.String pubUser) {
		this.pubUser = pubUser;
	}
	public java.util.Date getPubTime() {
		return pubTime;
	}
	public void setPubTime(java.util.Date pubTime) {
		this.pubTime = pubTime;
	}
	public java.lang.String getContent() {
		return content;
	}
	public void setContent(java.lang.String content) {
		this.content = content;
	}
	public java.lang.String getMessageType() {
		return messageType;
	}
	public void setMessageType(java.lang.String messageType) {
		this.messageType = messageType;
	}
	public java.lang.String getReadType() {
		return readType;
	}
	public void setReadType(java.lang.String readType) {
		this.readType = readType;
	}
	public java.util.Date getReadTime() {
		return readTime;
	}
	public void setReadTime(java.util.Date readTime) {
		this.readTime = readTime;
	}
	public java.lang.String getPrepaidRecordId() {
		return prepaidRecordId;
	}
	public void setPrepaidRecordId(java.lang.String prepaidRecordId) {
		this.prepaidRecordId = prepaidRecordId;
	}
	public java.lang.String getUrl() {
		return url;
	}
	public void setUrl(java.lang.String url) {
		this.url = url;
	}
	public String getOtherParam() {
		return otherParam;
	}
	public void setOtherParam(String otherParam) {
		this.otherParam = otherParam;
	}
	public String getIsShow() {
		return isShow;
	}
	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}
	
}

